﻿using Microsoft.Extensions.Options;
using ZenSystemService.Api.Common.EncryptHelper;

namespace ZenSystemService.Api.Common.Encryption
{
    public static class EncryptionExtenstions
    {
        /// <summary>
        /// 添加加密服务
        /// </summary>
        /// <param name="services"></param>
        public static void AddEncryptions(this IServiceCollection services)
        {
            services.AddSingleton<IEncryptionService, AesEncryptionService>();
        }
    }
}
